package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:48
 * @Description: TODO
 */
public class AttendanceStatistics {
    private String clbum;

    private double rate;

    public com.caipin.domain.web.AttendanceStatistics setClbum(String clbum) {
        this.clbum = clbum;
        return this;
    }

    public com.caipin.domain.web.AttendanceStatistics setRate(double rate) {
        this.rate = rate;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.AttendanceStatistics))
            return false;
        com.caipin.domain.web.AttendanceStatistics other = (com.caipin.domain.web.AttendanceStatistics)o;
        if (!other.canEqual(this))
            return false;
        Object this$clbum = getClbum(), other$clbum = other.getClbum();
        return ((this$clbum == null) ? (other$clbum != null) : !this$clbum.equals(other$clbum)) ? false : (!(Double.compare(getRate(), other.getRate()) != 0));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.AttendanceStatistics;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $clbum = getClbum();
        result = result * 59 + (($clbum == null) ? 43 : $clbum.hashCode());
        long $rate = Double.doubleToLongBits(getRate());
        return result * 59 + (int)($rate >>> 32L ^ $rate);
    }

    public String toString() {
        return "AttendanceStatistics(clbum=" + getClbum() + ", rate=" + getRate() + ")";
    }

    public String getClbum() {
        return this.clbum;
    }

    public double getRate() {
        return this.rate;
    }
}

